package com.search.service;

import com.search.entity.Snacks;
import com.search.response.SearchResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SnacksService {
    /**
     * MySQL的模糊查询
     */
    public List<Snacks> getSnacksByNameOrIntroduction(String query);

    /**
     * 获取全部的Snacks
     */
    public List<Snacks> getAllSnacks();
}
